package com.smartcommunity.entity.vid;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel("通行人脸信息查询条件")
public class FaceSearchModel {
    @ApiModelProperty(value = "查询页数")
    private int page;

    @ApiModelProperty(value = "查询页大小")
    private int pageSize;

    @ApiModelProperty(value = "vid")
    private String vid;

    @ApiModelProperty(value = "开始时间")
    private Long startTime;

    @ApiModelProperty(value = "结束时间")
    private Long endTime;

    @ApiModelProperty(value = "行政区划编号")
    private String parentId;

    @ApiModelProperty(value = "小区编号")
    private String villageCode;

    @ApiModelProperty(value = "相机编号")
    private String cameraId;

    @ApiModelProperty(value = "排序字段")
    private String sortField;

    @ApiModelProperty(value = "排序方式")
    private String sortModel;

    @ApiModelProperty(value = "相机名称")
    private String text;

    @ApiModelProperty(value = "记录id")
    private String accessLogId;
    /**
     * @since 2.0.1
     */
    @ApiModelProperty(value = "返回检索top n, 整数, 最大9999, 可选, 默认为10,与feature, threshold搭配使用")
    private int top = 10;

    /**
     * @since 2.0.1
     */
    @ApiModelProperty(value = "需要检索的特征, base64编码之后的字符串, 注意：base64解码之后的长度与库的data_type有对应关系, 与top,threshold搭配使用")
    private String feature;

    /**
     * @since 2.0.1
     */
    @ApiModelProperty(value = "检索阈值, 浮点数, [0, 1], 可选, 与top,feature搭配使用")
    private Float threshold;
}
